package club.emergency.wechat.model.fastdfs;

import club.emergency.wechat.model.GenericEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author jifujun
 * @since 2018-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("fast_dfs")
public class FastDFS extends GenericEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 组名
     */
    private String groupName;

    /**
     * 路径
     */
    private String storagePath;

    /**
     * 后缀名
     */
    private String extName;

    /**
     * 文件大小
     */
    private Integer size;

    /**
     * 文件名
     */
    private String fileName;

    /**
     * 自动迁移算法slot,禁止修改
     */
    @TableField(exist = false)
    private Integer slot;

}
